<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                        template="./AdminTemplate.xhtml">
            <ui:define name="Title">
                <title>Detail Order</title>
            </ui:define>

            <ui:define name="content">
         
                    <div class="grid_2">
                        <div class="da-panel collapsible">
                            <div class="da-panel-header">
                                <span class="da-panel-title">
                                    <img src="images/icons/color/blog.png"/>
                                    Order Details
                                </span>
                                <span class="da-panel-toggler"></span></div>

                            <div class="da-panel-content">
                                <c:set value="#{adminVihicleBean.ordpayment}" var="od"/>

                                <table class="da-table da-detail-view">
                                    <tbody>
                                        <tr class="odd">
                                            <th>Customer Name</th>
                                            <td>#{od.cusFullName}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Address</th>
                                            <td>#{od.address}</td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Email</th>
                                            <td>#{od.email}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Phone</th>
                                            <td>#{od.phoneNumber}</td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Comments</th>
                                            <td>#{od.comments}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Vehicle ID</th>
                                            <td>#{od.vehicleID}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Vehicle Name:</th>
                                            <td>#{adminVihicleBean.vehipayment.vehilceName}</td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Quantity</th>
                                            <td>#{od.quantity}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Price</th>
                                            <td><span class="null">$ #{od.price}</span></td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Employee Name :</th>
                                            <td>#{adminVihicleBean.emp.fullName}</td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Date Regis</th>
                                            <td>#{od.dateRegis}</td>
                                        </tr>
                                        <tr class="even">
                                            <th>Date Order</th>
                                            <td>#{od.dateOrder}</td>
                                        </tr>
                                        <tr class="odd">
                                            <th>Status</th>
                                            <td><span class="null">Paid</span></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
            </ui:define>
        </ui:composition>
    </body>
</html>
